package com.zenithmind.version.config;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 版本控制服务应用程序配置 - 遵循单一职责原则，专门处理应用程序级别的配置
 * 
 * @author ZenithMind Team
 * @since 2025-01-09
 */
@Slf4j
@Configuration
@ComponentScan(basePackages = {"com.zenithmind"})
@EnableTransactionManagement
@EnableAspectJAutoProxy
@MapperScan({"com.zenithmind.version.mapper", "com.zenithmind.common.mapper"})
public class VersionApplicationConfig {

    /**
     * 应用程序配置初始化
     */
    public VersionApplicationConfig() {
        log.info("版本控制服务应用程序配置初始化完成");
    }
}
